package site.sorghum.ddl.mybatis.entity;


import lombok.Value;

import java.math.BigDecimal;

@Value
public class BankAccount {
    String longId;
    String accountNumber;
    String accountHolder;
    BigDecimal balance;
    AccountType accountType;

    public enum AccountType {
        SAVINGS, CHECKING, CREDIT
    }
}